package com.hmsm.sys.service;

import java.util.Date;

import com.hmsm.server.util.QueryResult;

public interface ILogInfoService<T> {

	public void save(Integer userId, String userName, Integer type, String remark) throws Exception;

	public void save(Integer userId, String userName, String remark) throws Exception;

	public boolean log(Object obj, String message);

	public int getLogInfoCount(Date beginTime, Date endTime, String userName, Integer type);

	public QueryResult<T> getLogInfoList(Integer index, Integer maxresult, Integer totalPage, Date beginTime, Date endTime, Integer type, String userName, Integer count);
	
}
